package org.dromara.timemate.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.timemate.domain.DeviceInfo;

import java.io.Serial;
import java.io.Serializable;

@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = DeviceInfo.class)
public class DeviceManageVo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /*
     *设备Id
     */
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 设备名称
     */
    private String deviceName;


    /**
     * 设备类型:camera-摄像头;watch-手表;wristband-手环;mattress-床垫
     */
    private String deviceType;

    /**
     * 设备状态
     */
    private Byte deviceStatus;

    /**
     * 穿戴人员id
     */
    private Long wearerId;

    /**
     * 穿戴者名称
     */
    private String wearerName;

    /*用户绑定的手机号*/
    private String phonenumber;

    public DeviceManageVo() {
    }

    public DeviceManageVo(Long userId, String phonenumber) {
        this.userId = userId;
        this.phonenumber = phonenumber;
    }

    public DeviceManageVo(Long id, String deviceName, String deviceType, String phonenumber) {
        this.id = id;
        this.deviceName = deviceName;
        this.deviceType = deviceType;
        this.phonenumber = phonenumber;
    }
}
